package com.javasm.gg;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.gg.Goods;

import java.util.List;


public interface GoodsService extends IService<Goods> {
    List<Goods> listGoodsAndGoodsType(Goods goods);

    List<Goods> listGoods2AndGoodsType(Goods goods);

    boolean updateGoodsStock(Integer goodsId, Integer count);
}
